export interface ITreeItem {
  key: string,
  title: string,
  status: boolean,
  message: string,
  createTime: string, // yyyy-MM-dd hh:mm:ss
  children: ITreeItem[]
}
export interface IUser {
  id: number,
  name: string,
  nickName: string,
  sex: string,
  role: string,
  telephone: string,
  status: boolean,
  message: string,
  creatTime: string
}
export interface IApartment {
  key: string,
  title: string,
  status: number, // 1 启用 0 禁用
  message: string,
  createTime: string,
  children?: IApartment[],
}
export type IRightType = {
  1: '菜单',
  2: '目录',
  3: '按钮'
}
export interface ISysMenu {
  id: string,
  title: string,
  rightType: keyof IRightType,
  route: string,
  logotype: string,
  children: ISysMenu[]
}
export interface ISysRole {
  id: string,
  title: string,
  role: string,
  status: string,
  description: string,
  createtime: string,
  permissions: string[]
}